body {
  background-image: url(./bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  background-size: cover;
}

.login-container {
  width: 100%;
  height: calc(100% - 50px);

  /* 垂直水平居中 */
  display: flex;
  align-items: center;
  justify-content: center;


}

.login-dialog {
  width: 400px;
  height: 320px;
  border-radius: 15px;
  box-shadow: 0 0 17px #333;
}

.login-dialog h2 {
  text-align: center;
  padding-top: 20px;
}

.login-dialog .row {
  height: 50px;
  padding-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-dialog .row-ver {
  height: 50px;
  padding-top: 30px;
  /* padding-left: 10px; */
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.login-dialog .row-ver span {
  /* span是行内元素，直接设置width是无效的，要将它变为块级元素 */
  display: block;
  width: 100px;
  font-weight: 700;
}

.login-dialog .row-login {
  height: 50px;
  padding-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-dialog .row span {
  /* span是行内元素，直接设置width是无效的，要将它变为块级元素 */
  display: block;
  width: 100px;
  font-weight: 700;
}

.login-dialog a {
  height: 50px;
  padding-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-dialog a span {
  /* span是行内元素，直接设置width是无效的，要将它变为块级元素 */
  display: block;
  width: 100px;
  font-weight: 700;
}


#username,
#password {
  width: 200px;
  height: 40px;
  font-size: 20px;
  text-indent: 10px;

  border-radius: 10px;

  border: none;
  outline: none;
}

#inputCaptcha {
  width: 80px;
  height: 40px;
  font-size: 20px;
  text-indent: 10px;

  border-radius: 10px;

  border: none;
  outline: none;
}

#submit {
  width: 300px;
  height: 40px;
  background-color: rgb(137, 196, 244);

  color: white;
  border: none;
  font-size: 20px;

  border-radius: 10px;
}

#submit:active {
  background-color: darkgray;
}

#submit-register {
  width: 300px;
  height: 40px;
  background-color: rgb(137, 196, 244);

  color: white;
  border: none;
  font-size: 20px;

  border-radius: 10px;
}

.login-container .login-dialog .register #submit {
  width: 300px;
  height: 40px;
  background-color: rgb(137, 196, 244);

  color: white;
  border: none;
  font-size: 20px;

  border-radius: 10px;
}

.login-container .login-dialog .row-register a:first-child:after {
  content: "";
  padding-left: 1px;
  width: 0;
  height: 13px;
  background-color: #b7bcc7;
  position: absolute;
  top: 3px;
  right: -10px;
  color: #666;
}

#submit-register:active {
  background-color: darkgray;
}